CommonsBooking\Model\Booking A

Total Complexity 51
Dependencies 11
Dependents 4
Total lines 366
Lines of code 202
Logical lines of code 103
Comment lines 99
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
bookingActionButton()
A
53 8 23
assignBookableTimeframeFields()
S
48 5 38
formattedBookingCode()
S
59 6 13
bookingNotice()
S
57 5 17
pickupDatetime()
S
56 4 18
returnDatetime()
S
55 4 18
getBookingStateLabel()
S
62 4 13
getBookableTimeFrame()
S
59 2 14
getLocation()
S
69 2 7
formattedBookingDate()
S
63 2 10
sanitizeTimeField()
S
65 2 9
getItem()
S
69 2 7
showBookingCodes()
S
79 1 3
getStartDate()
S
80 1 3
getEndDate()
S
80 1 3
getBookingCode()
S
79 1 3
bookingLink()
S
76 1 3